/**
 * FS回调转Promise
 * @param k string 方法名  $FS[k]
 * @param s mixed ... 参数,除回调
 * @return Promise
 */
$.fsAsync = function(k, ...s){
	const $FS = require('node:fs');
	$.fsAsync=$.track((k,...s)=>{
		const [W,B] = $.when(true);
		$FS[k](...s,B);  return W;
	});
	return $.fsAsync(k, ...s);
};
